package net.easyjava.tools;

import com.google.code.morphia.annotations.Id;
import org.bson.types.ObjectId;

/**
 * Created by wenxiaoning on 15/12/17.
 */
public class DBean extends BaseBean {
    private static final long serialVersionUID = 7995857128180961422L;
    @Id
    protected String id = new ObjectId().toString();

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
